﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DCS.Business.Model
{
   public class FlightInfo
    {
       public FlightInfo(System.Data.SqlClient.SqlDataReader dr)
       {
           this.Carrier = Convert.ToString(dr["CARRIER"]);
           this.FlightNO = Convert.ToString(dr["FLIGHT_NO"]);
           this.DeptAirport = Convert.ToString(dr["DEPT_AIRPORT"]);
           this.ArrAirport = Convert.ToString(dr["ARR_AIRPORT"]);
           this.PDate = Convert.ToDateTime(dr["PDATE"]);
       }

       public string Carrier { get; set; }
       public string FlightNO { get; set; }
       public string DeptAirport { get; set; }
       public string ArrAirport { get; set; }
       public DateTime PDate { get; set; }
    }
}

